<br />
<br />
<?php
if ($login) {
?>
<form method="POST" action="">
<input type="hidden" name="action" value="logout" />
<input type="submit" name="smt" value="登出" />
</form><br />
<a href="./?admin">后台</a>
<?php
} else {
?>
<form method="POST" action="">
密码:<input type="password" name="password" />
<input type="submit" name="smt" value="登录" />
</form>
<?php

}
?>
<br />
<a href="http://www.surfchen.org/wiki/Projects/pdict">项目主页</a>
